PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Glimmer / suksma - martin - neon space ps3 - mom - black stars in a microwave sky.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=10.437 |
| 27 | fWaveSmoothing=0.450 |
| 28 | fWaveParam=0.080 |
| 29 | fModWaveAlphaStart=0.000 |
| 30 | fModWaveAlphaEnd=1.320 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.990 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.200 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.250 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=32.000 |
| 60 | nMotionVectorsY=24.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.100 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=120 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_per_point1=k1 = (sample*100)%8; |
| 89 | wave_0_per_point2=k2 = bnot (k1); |
| 90 | wave_0_per_point3=xi = value1*k2 + xi*(1-k2); |
| 91 | wave_0_per_point4=yi = value2*(1-k2) + yi*k2; |
| 92 | wave_0_per_point5= |
| 93 | wave_0_per_point6=dx = dx*.99 + xi; |
| 94 | wave_0_per_point7=dy = dy*.99 + yi; |
| 95 | wave_0_per_point8= |
| 96 | wave_0_per_point9=x = .5 + xi/2; |
| 97 | wave_0_per_point10=y = .5 + yi/2; |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12=a = q22/8; |
| 100 | wave_0_per_point13=a = min(a,.2); |
| 101 | wavecode_1_enabled=0 |
| 102 | wavecode_1_samples=512 |
| 103 | wavecode_1_sep=0 |
| 104 | wavecode_1_bSpectrum=0 |
| 105 | wavecode_1_bUseDots=1 |
| 106 | wavecode_1_bDrawThick=1 |
| 107 | wavecode_1_bAdditive=0 |
| 108 | wavecode_1_scaling=0.89152 |
| 109 | wavecode_1_smoothing=0.82000 |
| 110 | wavecode_1_r=1.000 |
| 111 | wavecode_1_g=1.000 |
| 112 | wavecode_1_b=1.000 |
| 113 | wavecode_1_a=0.100 |
| 114 | wave_1_per_point1=xi = int(rand(100))/100; |
| 115 | wave_1_per_point2=yi = int(rand(100))/100; |
| 116 | wave_1_per_point3= |
| 117 | wave_1_per_point4=x = xi; y = yi; |
| 118 | wave_1_per_point5= |
| 119 | wave_1_per_point6=a = q21/15; |
| 120 | wavecode_2_enabled=0 |
| 121 | wavecode_2_samples=512 |
| 122 | wavecode_2_sep=0 |
| 123 | wavecode_2_bSpectrum=0 |
| 124 | wavecode_2_bUseDots=0 |
| 125 | wavecode_2_bDrawThick=1 |
| 126 | wavecode_2_bAdditive=0 |
| 127 | wavecode_2_scaling=0.89152 |
| 128 | wavecode_2_smoothing=0.82000 |
| 129 | wavecode_2_r=0.000 |
| 130 | wavecode_2_g=0.200 |
| 131 | wavecode_2_b=0.000 |
| 132 | wavecode_2_a=1.000 |
| 133 | wavecode_3_enabled=0 |
| 134 | wavecode_3_samples=512 |
| 135 | wavecode_3_sep=0 |
| 136 | wavecode_3_bSpectrum=1 |
| 137 | wavecode_3_bUseDots=1 |
| 138 | wavecode_3_bDrawThick=0 |
| 139 | wavecode_3_bAdditive=0 |
| 140 | wavecode_3_scaling=1.00000 |
| 141 | wavecode_3_smoothing=0.50000 |
| 142 | wavecode_3_r=1.000 |
| 143 | wavecode_3_g=1.000 |
| 144 | wavecode_3_b=1.000 |
| 145 | wavecode_3_a=1.000 |
| 146 | shapecode_0_enabled=0 |
| 147 | shapecode_0_sides=4 |
| 148 | shapecode_0_additive=0 |
| 149 | shapecode_0_thickOutline=0 |
| 150 | shapecode_0_textured=1 |
| 151 | shapecode_0_num_inst=1 |
| 152 | shapecode_0_x=0.500 |
| 153 | shapecode_0_y=0.500 |
| 154 | shapecode_0_rad=0.53328 |
| 155 | shapecode_0_ang=0.00000 |
| 156 | shapecode_0_tex_ang=1.00531 |
| 157 | shapecode_0_tex_zoom=45.11150 |
| 158 | shapecode_0_r=0.500 |
| 159 | shapecode_0_g=1.000 |
| 160 | shapecode_0_b=0.900 |
| 161 | shapecode_0_a=1.000 |
| 162 | shapecode_0_r2=0.830 |
| 163 | shapecode_0_g2=0.930 |
| 164 | shapecode_0_b2=0.800 |
| 165 | shapecode_0_a2=1.000 |
| 166 | shapecode_0_border_r=1.000 |
| 167 | shapecode_0_border_g=1.000 |
| 168 | shapecode_0_border_b=0.000 |
| 169 | shapecode_0_border_a=0.500 |
| 170 | shapecode_1_enabled=0 |
| 171 | shapecode_1_sides=4 |
| 172 | shapecode_1_additive=0 |
| 173 | shapecode_1_thickOutline=1 |
| 174 | shapecode_1_textured=0 |
| 175 | shapecode_1_num_inst=1 |
| 176 | shapecode_1_x=0.400 |
| 177 | shapecode_1_y=0.500 |
| 178 | shapecode_1_rad=2.36696 |
| 179 | shapecode_1_ang=0.00000 |
| 180 | shapecode_1_tex_ang=3.45575 |
| 181 | shapecode_1_tex_zoom=0.99305 |
| 182 | shapecode_1_r=0.500 |
| 183 | shapecode_1_g=0.000 |
| 184 | shapecode_1_b=1.000 |
| 185 | shapecode_1_a=0.200 |
| 186 | shapecode_1_r2=0.700 |
| 187 | shapecode_1_g2=0.400 |
| 188 | shapecode_1_b2=0.000 |
| 189 | shapecode_1_a2=0.000 |
| 190 | shapecode_1_border_r=0.500 |
| 191 | shapecode_1_border_g=0.500 |
| 192 | shapecode_1_border_b=0.500 |
| 193 | shapecode_1_border_a=0.000 |
| 194 | shape_1_per_frame1=a2 =0;a = 0; |
| 195 | shape_1_per_frame2=a = q24/2; |
| 196 | shapecode_2_enabled=0 |
| 197 | shapecode_2_sides=100 |
| 198 | shapecode_2_additive=0 |
| 199 | shapecode_2_thickOutline=0 |
| 200 | shapecode_2_textured=0 |
| 201 | shapecode_2_num_inst=1 |
| 202 | shapecode_2_x=0.503 |
| 203 | shapecode_2_y=0.500 |
| 204 | shapecode_2_rad=0.03886 |
| 205 | shapecode_2_ang=0.00000 |
| 206 | shapecode_2_tex_ang=0.00000 |
| 207 | shapecode_2_tex_zoom=0.60986 |
| 208 | shapecode_2_r=1.000 |
| 209 | shapecode_2_g=0.100 |
| 210 | shapecode_2_b=0.000 |
| 211 | shapecode_2_a=0.900 |
| 212 | shapecode_2_r2=1.000 |
| 213 | shapecode_2_g2=1.000 |
| 214 | shapecode_2_b2=1.000 |
| 215 | shapecode_2_a2=0.000 |
| 216 | shapecode_2_border_r=0.500 |
| 217 | shapecode_2_border_g=0.500 |
| 218 | shapecode_2_border_b=0.500 |
| 219 | shapecode_2_border_a=0.000 |
| 220 | shape_2_per_frame1=x = int(rand(10))/10; |
| 221 | shape_2_per_frame2=y = int(rand(10))/10; |
| 222 | shape_2_per_frame3= |
| 223 | shape_2_per_frame4=r = int(rand(50))/50; |
| 224 | shape_2_per_frame5=g = int(rand(50))/50; |
| 225 | shape_2_per_frame6=b = int(rand(50))/50; |
| 226 | shape_2_per_frame7= |
| 227 | shape_2_per_frame8=r2 = 1; |
| 228 | shape_2_per_frame9=g2 = 1; |
| 229 | shape_2_per_frame10=b2 = 1; |
| 230 | shape_2_per_frame11= |
| 231 | shape_2_per_frame12=a = min(q21/2 ,1); |
| 232 | shape_2_per_frame13=a = .5; |
| 233 | shape_2_per_frame14=rad = a*a/16 ; |
| 234 | shape_2_per_frame15=a2 = .5; |
| 235 | shapecode_3_enabled=0 |
| 236 | shapecode_3_sides=4 |
| 237 | shapecode_3_additive=0 |
| 238 | shapecode_3_thickOutline=0 |
| 239 | shapecode_3_textured=1 |
| 240 | shapecode_3_num_inst=1 |
| 241 | shapecode_3_x=0.490 |
| 242 | shapecode_3_y=0.500 |
| 243 | shapecode_3_rad=0.84592 |
| 244 | shapecode_3_ang=0.00000 |
| 245 | shapecode_3_tex_ang=0.00000 |
| 246 | shapecode_3_tex_zoom=0.68039 |
| 247 | shapecode_3_r=1.000 |
| 248 | shapecode_3_g=1.000 |
| 249 | shapecode_3_b=1.000 |
| 250 | shapecode_3_a=1.000 |
| 251 | shapecode_3_r2=1.000 |
| 252 | shapecode_3_g2=1.000 |
| 253 | shapecode_3_b2=1.000 |
| 254 | shapecode_3_a2=0.000 |
| 255 | shapecode_3_border_r=0.000 |
| 256 | shapecode_3_border_g=0.000 |
| 257 | shapecode_3_border_b=0.500 |
| 258 | shapecode_3_border_a=0.100 |
| 259 | per_frame_init_1=p1 = 2000; p2 = 200; p3=50; |
| 260 | per_frame_1=//martin no religion / my omniversal absence for changing the background light |
| 261 | per_frame_2=vb = vb*0.95 + (1-vb)*pow(bass_att,2)*0.02; |
| 262 | per_frame_3=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 263 | per_frame_4=vm = vm*0.95 + (1-vm)*pow(mid_att,2)*0.02; |
| 264 | per_frame_5=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 265 | per_frame_6=vt = vt*0.95 + (1-vt)*pow(treb_att,2)*0.02; |
| 266 | per_frame_7=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 267 | per_frame_8=vvb = min(1,max(0,vvb)); |
| 268 | per_frame_9=vvm = min(1,max(0,vvm)); |
| 269 | per_frame_10=vvt = min(1,max(0,vvt)); |
| 270 | per_frame_11=runbass=runbass+vvb; |
| 271 | per_frame_12=runmids=runmids+vvm ; |
| 272 | per_frame_13=runtreb=runtreb+vvt; |
| 273 | per_frame_14=pi23=4*asin(-1)*.33333333333333; |
| 274 | per_frame_15=atime=(runtreb+runmids+runbass)*.05; |
| 275 | per_frame_16=q8= (sin(atime-0*pi23)+1)*.5; |
| 276 | per_frame_17=q9= (sin(atime-1*pi23)+1)*.5; |
| 277 | per_frame_18=q10=(sin(atime-2*pi23)+1)*.5; |
| 278 | per_frame_19= |
| 279 | per_frame_20=//per frame less reactive volume for all unused q vars, put before other q vars are set for cop out mashing |
| 280 | per_frame_21=vb = vb*0.95 + (1-vb)*pow(bass_att,2)*0.02; |
| 281 | per_frame_22=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 282 | per_frame_23=vm = vm*0.95 + (1-vm)*pow(mid_att,2)*0.02; |
| 283 | per_frame_24=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 284 | per_frame_25=vt = vt*0.95 + (1-vt)*pow(treb_att,2)*0.02; |
| 285 | per_frame_26=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 286 | per_frame_27=vvb = min(1,max(0,vvb)); |
| 287 | per_frame_28=vvm = min(1,max(0,vvm)); |
| 288 | per_frame_29=vvt = min(1,max(0,vvt)); |
| 289 | per_frame_30=q1 = (vvb+vvm+vvt)*10; |
| 290 | per_frame_31=q2 = (vvb+vvm+vvt)*10; |
| 291 | per_frame_32=q3 = (vvb+vvm+vvt)*10; |
| 292 | per_frame_33=q4 = (vvb+vvm+vvt)*10; |
| 293 | per_frame_34=q5 = (vvb+vvm+vvt)*10; |
| 294 | per_frame_35=q6 = (vvb+vvm+vvt)*10; |
| 295 | per_frame_36=q7 = (vvb+vvm+vvt)*10; |
| 296 | per_frame_37=q8 = (vvb+vvm+vvt)*10; |
| 297 | per_frame_38=q9 = (vvb+vvm+vvt)*10; |
| 298 | per_frame_39=q10 = (vvb+vvm+vvt)*10; |
| 299 | per_frame_40=q11 = (vvb+vvm+vvt)*10; |
| 300 | per_frame_41=q12 = (vvb+vvm+vvt)*10; |
| 301 | per_frame_42=q13 = (vvb+vvm+vvt)*10; |
| 302 | per_frame_43=q14 = (vvb+vvm+vvt)*10; |
| 303 | per_frame_44=q15 = (vvb+vvm+vvt)*10; |
| 304 | per_frame_45=q16 = (vvb+vvm+vvt)*10; |
| 305 | per_frame_46=q17 = (vvb+vvm+vvt)*10; |
| 306 | per_frame_47=q18 = (vvb+vvm+vvt)*10; |
| 307 | per_frame_48=q19 = (vvb+vvm+vvt)*10; |
| 308 | per_frame_49=q20 = (vvb+vvm+vvt)*10; |
| 309 | per_frame_50=q21 = (vvb+vvm+vvt)*10; |
| 310 | per_frame_51=q22 = (vvb+vvm+vvt)*10; |
| 311 | per_frame_52=q23 = (vvb+vvm+vvt)*10; |
| 312 | per_frame_53=q24 = (vvb+vvm+vvt)*10; |
| 313 | per_frame_54=q25 = (vvb+vvm+vvt)*10; |
| 314 | per_frame_55=q26 = (vvb+vvm+vvt)*10; |
| 315 | per_frame_56=q27 = (vvb+vvm+vvt)*10; |
| 316 | per_frame_57=q28 = (vvb+vvm+vvt)*10; |
| 317 | per_frame_58=q29 = (vvb+vvm+vvt)*10; |
| 318 | per_frame_59=q30 = (vvb+vvm+vvt)*10; |
| 319 | per_frame_60=q31 = (vvb+vvm+vvt)*10; |
| 320 | per_frame_61=q32 = (vvb+vvm+vvt)*10; |
| 321 | per_frame_62= |
| 322 | per_frame_63=dec_med = pow (0.9, 30/fps); |
| 323 | per_frame_64=dec_slow = pow (0.9, 30/fps); |
| 324 | per_frame_65=beat = max (max (bass, mid), treb); |
| 325 | per_frame_66=avg = avg*dec_slow + beat*(1-dec_slow); |
| 326 | per_frame_67=is_beat = above(beat, .1+avg+peak) * above (time, t0+.2); |
| 327 | per_frame_68=t0 = is_beat*time + (1-is_beat)*t0; |
| 328 | per_frame_69=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 329 | per_frame_70=index = (index + is_beat) %16; |
| 330 | per_frame_71=index2 = (index2 + is_beat*bnot(index))%5; |
| 331 | per_frame_72=monitor = index2; |
| 332 | per_frame_73= |
| 333 | per_frame_74=q20 = avg; |
| 334 | per_frame_75=q21 = beat; |
| 335 | per_frame_76=q22 = peak; |
| 336 | per_frame_77=q23 = index; |
| 337 | per_frame_78=q24 = sin(time*.3)*.05*is_beat; |
| 338 | per_frame_79=q26 = bass + mid + treb; |
| 339 | per_frame_80=q27 = index; |
| 340 | per_frame_81=q28 = index2; |
| 341 | per_frame_82= |
| 342 | per_frame_83=k1 = is_beat*equal(index%2,0); |
| 343 | per_frame_84=p1 = k1*(p1+1) + (1-k1)*p1; |
| 344 | per_frame_85=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 345 | per_frame_86=rott_ = p2 * 3.1416/4; |
| 346 | per_frame_87= |
| 347 | per_frame_88=rott = rott + .2*30/fps*q2; |
| 348 | per_frame_89= |
| 349 | per_frame_90= |
| 350 | per_frame_91=q1 = cos(rott); |
| 351 | per_frame_92=q2 = sin(rott); |
| 352 | per_frame_93=q3 = -q2; |
| 353 | per_frame_94=q4 = q1; |
| 354 | per_frame_95= |
| 355 | per_frame_96=ran = bnot(q24)*ran + q24 * (int(rand(50))-24); |
| 356 | per_frame_97=tran = tan(ran); |
| 357 | per_frame_98=tran = max(tran,-5); |
| 358 | per_frame_99=tran = min(tran,5); |
| 359 | per_frame_100= |
| 360 | per_frame_101=trel = trel + .02*30/fps*tran+q24; |
| 361 | per_frame_102=q5 = cos(trel); |
| 362 | per_frame_103=q6 = sin(trel); |
| 363 | per_frame_104=q7 = -q6; |
| 364 | per_frame_105=q8 = q5; |
| 365 | per_frame_106= |
| 366 | per_frame_107=movex = movex*dec_slow + .1*sin(rott)*30/fps; |
| 367 | per_frame_108=q9 = movex; |
| 368 | per_frame_109= |
| 369 | per_frame_110=spd = spd*bnot(q24) + q26*q24; |
| 370 | per_frame_111=movez = movez + .005*30/fps*spd; |
| 371 | per_frame_112=q30 = movez; |
| 372 | per_frame_113=//q30 = .3* (sin(time/45) + 1.5); |
| 373 | per_frame_114= |
| 374 | per_frame_115=mv_x = 20; |
| 375 | per_frame_116=mv_y = 15; |
| 376 | per_frame_117=mv_a = .1; |
| 377 | per_frame_118=mv_l = 0; |
| 378 | per_frame_119= |
| 379 | per_frame_120=q18 = sin(time/7); |
| 380 | per_frame_121=q19 = sin(time/11); |
| 381 | per_frame_122= |
| 382 | per_frame_123=q32 = pow(0.98, 30/fps); //fade |
| 383 | per_frame_124= |
| 384 | per_pixel_1=zoom = 1; |
| 385 | per_pixel_2=warp = .1; |
| 386 | warp_1=`sampler sampler_worms; |
| 387 | warp_2=`float3 color, mus; |
| 388 | warp_3=`float dx,dy; |
| 389 | warp_4=`shader_body { |
| 390 | warp_5=` |
| 391 | warp_6=` |
| 392 | warp_7=`float2 uv1 = (uv-.5) * aspect.xy; |
| 393 | warp_8=` |
| 394 | warp_9=`float2 uv6 = uv1; |
| 395 | warp_10=`float z = q10*24*length(((uv1.x)*(uv1.y))); |
| 396 | warp_11=`float2 d = normalize(uv1); |
| 397 | warp_12=`float2 rs = clamp(tan(z)*d,-2,2); |
| 398 | warp_13=`uv += .01*lum(GetBlur1(uv))*float2 (0,1); |
| 399 | warp_14=`uv -= rs/200; |
| 400 | warp_15=` |
| 401 | warp_16=`uv6 = .4*sin(uv*6+rand_frame*16); |
| 402 | warp_17=`//use in warp shader for collidescope in neon 3 mixes |
| 403 | warp_18=`uv6=abs(frac(uv6+.5)-.5) ; |
| 404 | warp_19=` |
| 405 | warp_20=`mus = .1/(length(uv6)); |
| 406 | warp_21=`mus *= .5*(1+roam_cos); |
| 407 | warp_22=` |
| 408 | warp_23=`float3 blur = GetBlur2(frac(uv)); |
| 409 | warp_24=` |
| 410 | warp_25=`float3 crisp= tex2D(sampler_main,uv); |
| 411 | warp_26=` |
| 412 | warp_27=`float3 ret1 = crisp - blur*.02 + .1*mus; |
| 413 | warp_28=` |
| 414 | warp_29=`q25 = 1; |
| 415 | warp_30=`ret = q25*(ret1*.99-.025) + (1-q25)* GetPixel(uv_orig); |
| 416 | warp_31=` |
| 417 | warp_32=`} |
| 418 | comp_1=`float3 ret1, neu; |
| 419 | comp_2=`float2 uv2,uv3; |
| 420 | comp_3=`shader_body |
| 421 | comp_4=`{ |
| 422 | comp_5=`float2 uv2; |
| 423 | comp_6=`float ang2, c, s; |
| 424 | comp_7=`uv -= 0.5; |
| 425 | comp_8=`uv *= aspect.xy; |
| 426 | comp_9=` |
| 427 | comp_10=`uv = mul(uv, float2x2(_qb)); |
| 428 | comp_11=` |
| 429 | comp_12=`float dist = 1; |
| 430 | comp_13=`float inten = 1; |
| 431 | comp_14=`ret1 = 0; |
| 432 | comp_15=`int anz = 4; |
| 433 | comp_16=`float n = anz; |
| 434 | comp_17=`while (n >= 0) { |
| 435 | comp_18=` ang2 = 0*n/anz; |
| 436 | comp_19=` c = cos(ang2); |
| 437 | comp_20=` s = sin(ang2); |
| 438 | comp_21=` uv2.x = uv.x*c - uv.y*s; |
| 439 | comp_22=` uv2.y = uv.x*s + uv.y*c; |
| 440 | comp_23=`//uv2 = uv; |
| 441 | comp_24=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt ! |
| 442 | comp_25=` inten = sqrt(dist)*(1-dist)*2; |
| 443 | comp_26=`float2 uv3 = 3*uv2*dist*(1+q5*uv.x) + 0.5 +float2(q18*n,q19) ; |
| 444 | comp_27=` |
| 445 | comp_28=`float3 cmul = float3(dist,1-dist,1-(dist-.5)*(dist-.5)*4); |
| 446 | comp_29=` neu = tex2D(sampler_main,uv3) +q6*GetBlur1(frac(uv3*1.04)).bgr*1; |
| 447 | comp_30=` |
| 448 | comp_31=`// neu = neu*cmul; |
| 449 | comp_32=` ret1 = max(ret1,neu*inten); |
| 450 | comp_33=`n--; |
| 451 | comp_34=`} |
| 452 | comp_35=` |
| 453 | comp_36=`ret1 = lerp(ret1,ret1.gbr,q26/6); |
| 454 | comp_37=`ret = ret1*2 + (1-rad)*q26/3*GetPixel(q5/2+uv*(2-rad)); |
| 455 | comp_38=` |
| 456 | comp_39=`} |